{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE TypeOperators #-}
-- | Hexena.Data.ParseRawSections.hs
-- 
-- <This file is a part of Hexena - Haskell Executable Analyser>
-- 
-- See Hexena.hs for License Information.
-- 
-- This will just parse the raw sections from disk and it can be specifically parsed
-- as a Data Directory Downstream.
module Hexena.Data.ParseRawSections (RawSections(..)) where

import qualified Data.ByteString.Lazy as L

import Data.Word

import Data.Label -- Needs 'fclabels'

data RawSections = RawSections
    { 
	-- | from the Section Table to the first actual section is padded with `\NUL` 
	  _nullPadding :: L.ByteString 
    , _rawSections :: [L.ByteString]
    } deriving (Show, Eq, Ord)

mkLabel ''RawSections
